<div class="layui-form" lay-filter="layuiadmin-form-type" style="padding: 20px 30px 0 0;">

    <div class="layui-form-item">
        <label class="layui-form-label">类型名</label>
        <div class="layui-input-inline">
            <script type="text/html" template>
                <input type="text" name="type_name" value="{{ d.params.typeName || '' }}" lay-verify="required"  autocomplete="off" class="layui-input">
                <input type="hidden" name="type_id" value="{{ d.params.typeId || '' }}" lay-verify="required"  autocomplete="off" class="layui-input">
            </script>
        </div>
    </div>
    <div class="layui-form-item">
        <label class="layui-form-label">工分</label>
        <div class="layui-input-inline">
            <script type="text/html" template>
                <input type="text" name="type_count" value="{{ d.params.typeCount || '' }}" lay-verify="required"  autocomplete="off" class="layui-input">

            </script>
        </div>
    </div>
    <div class="layui-form-item" lay-filter="type_flag">
        <label class="layui-form-label">状态</label>
        <div class="layui-input-inline">
            <input type="radio" name="type_flag" value="0" title="启用" checked>
            <input type="radio" name="type_flag" value="1" title="禁用">
        </div>
    </div>
    <div class="layui-form-item">
        <label class="layui-form-label">年份</label>
        <div class="layui-input-inline">
            <script type="text/html" template>
                <input type="text" name="type_years" value="{{ d.params.typeYears || '' }}" lay-verify="required"  autocomplete="off" class="layui-input">
            </script>
        </div>
    </div>

    <div class="layui-form-item">
        <label class="layui-form-label"></label>
        <div class="layui-input-inline">
            <input type="button" lay-submit lay-filter="LAY-modify" value="确认" class="layui-btn">
        </div>
    </div>
</div>
//监听提交


